package com.yunxi.model.dealer;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 渠道商信息开票信息
 * </p>
 *
 * @author 
 * @since 2019-05-23
 */
@Data
@EqualsAndHashCode(callSuper = false)

@TableName("pms_partner_invoice")
@ApiModel(value="PartnerInvoice对象", description="渠道商信息开票信息")
public class PartnerInvoice implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "INVOICE_ID", type = IdType.UUID)
    private String invoiceId;

    @ApiModelProperty(value = "渠道代码")
    @TableField("PARTNER_CODE")
    private String partnerCode;

    @ApiModelProperty(value = "银行国家代码")
    @TableField("BANK_CODE")
    private String bankCode;

    @ApiModelProperty(value = "银行编号")
    @TableField("BANK_NO")
    private String bankNo;

    @ApiModelProperty(value = "开户帐号")
    @TableField("BANK_ACCOUNT")
    private String bankAccount;

    @ApiModelProperty(value = "帐户持有人姓名")
    @TableField("BANK_HOLDER")
    private String bankHolder;

    @ApiModelProperty(value = "发票代码")
    @TableField("INVOICE_CODE")
    private String invoiceCode;

    @ApiModelProperty(value = "开户银行名称")
    @TableField("BANK")
    private String bank;

    @ApiModelProperty(value = "银行邮箱")
    @TableField("BANK_EMAIL")
    private String bankEmail;

    @ApiModelProperty(value = "开票名称")
    @TableField("TITLE")
    private String title;

    @ApiModelProperty(value = "银行地址")
    @TableField("BANK_ADD")
    private String bankAdd;

    @ApiModelProperty(value = "创建时间")
    @TableField(value ="CREATE_TIME",fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATE_BY")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value ="UPDATE_TIME", fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField("UPDATE_BY")
    private String updateBy;

    @ApiModelProperty(value = "状态1启用0禁用")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty(value = "是否删除")
    @TableField("IS_DEL")
    private Integer isDel;

    @ApiModelProperty(value = "备注")
    @TableField("MEMO")
    private String memo;

    @ApiModelProperty(value = "账户持有公司")
    @TableField("ACCOUNT_COMPANY")
    private String accountCompany;

    @ApiModelProperty(value = "税号")
    @TableField("TAX_NO")
    private String taxNo;

    @ApiModelProperty(value = "开票地址")
    @TableField("BILLING_ADDRESS")
    private String billingAddress;

    @ApiModelProperty(value = "发票快递地址")
    @TableField("INVOICE_ADDRESS")
    private String invoiceAddress;

    @ApiModelProperty(value = "开票联系人")
    @TableField("BILLING_LINKMAN")
    private String billingLinkman;

    @ApiModelProperty(value = "开票联系电话")
    @TableField("BILLING_PHONE")
    private String billingPhone;

}
